package com.cloudpolice.door.feignInterface;

import com.cloudpolice.door.feignInterface.hystric.MainSubUseInterFaceHystric;
import lh.model.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author ：梁昊，后端工程师：卢春龙，前端工程师：鲁俊
 * @create 2020-04-24 12:57
 * @function
 * @editLog
 */
@Repository
@FeignClient(value = "user-mucon/mainSubUseController", fallback = MainSubUseInterFaceHystric.class)
public interface MainSubUseInterFace {
    @PostMapping("/selectMainSubUseById")
    ResultVO selectMainSubUseById(@RequestParam(value = "id") String id);
}

